package com.tbit.uqbike.client.service;

import com.tbit.uqbike.client.pojo.UserParkingGuidance;

import java.util.Map;

/**
 * @author: ShiGuang
 * @create: 2021-12-16 15:34
 * @description: 用户观看停车引导记录Service层
 */
public interface UserParkingGuidanceService {

    /**
     * 通过userId和站点功能类型获取
     *
     * @param featureType
     * @param userId
     * @return
     */
    Integer getByUserIdAndFeatureType(Integer userId, Integer featureType);


    /**
     * 增加用户观看引导记录
     */
    void addUserParkingGuidance(UserParkingGuidance userParkingGuidance);

    /**
     * 判断是否需要向用户展示首次引导
     *
     * @param userId
     * @param lo
     * @param la
     */
    Map<String, Object> getParkingGuidance(Integer userId, Double lo, Double la, Integer mapType);

}
